package dgcptic.interventions.utils;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;


/**
 * Voir : http://code.google.com/intl/fr-FR/appengine/docs/java/datastore/jpa/overview.html
 * @author EGILIA
 *
 */
public final class EMF {
	
    private static final EntityManagerFactory emfInstance =  Persistence.createEntityManagerFactory("transactions-optional");

    private EMF() {}

    public static EntityManagerFactory get() {
        return emfInstance;
    }
}